﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="AddClient.aspx.cs" Inherits="AddClient" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <ext:Panel ID="Panel1" runat="server" Title="Add Customer" PaddingSummary="5px 5px 0"
        Width="790px" Frame="true" ButtonAlign="Center" Layout="Form">
        <Items>
            <ext:TextField ID="name" runat="server" FieldLabel="First Name" AllowBlank="false"
                AnchorHorizontal="100%" />
            <ext:TextField ID="surname" runat="server" FieldLabel="Last Name" AllowBlank="false"
                AnchorHorizontal="100%" />
            <ext:TextField ID="tcno" runat="server" FieldLabel="Citizenship Number" AnchorHorizontal="100%" />
            <ext:TextField ID="mphone" runat="server" FieldLabel="Mobile Phone" AnchorHorizontal="100%" />
            <ext:TextField ID="hphone" runat="server" FieldLabel="Home Phone" AnchorHorizontal="100%" />
            <ext:TextField ID="wphone" runat="server" FieldLabel="Work Phone" AnchorHorizontal="100%" />
            <ext:TextField ID="haddress" runat="server" FieldLabel="Home Adress" AnchorHorizontal="100%" />
            <ext:TextField ID="waddress" runat="server" FieldLabel="Work Adress" AnchorHorizontal="100%" />
            <ext:TextField ID="email" runat="server" FieldLabel="Email" Vtype="email" AnchorHorizontal="100%"
                AllowBlank="false" />
        </Items>
        <Buttons>
            <ext:Button ID="Button1" runat="server" Text="Save">
                <Listeners>
                    <Click Handler="Ext.net.DirectMethods.addClient();" />
                </Listeners>
            </ext:Button>
            <ext:Button ID="Button2" runat="server" Text="Cancel" />
        </Buttons>
        <Content>
            <ext:Label ID="label1" runat="server">
            </ext:Label>
        </Content>
    </ext:Panel>
</asp:Content>
